package com.huitu.whht.base.core.api.wrem.cons.entities;

import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;


import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.huitu.whht.api.core.common.base.MyLocalDateTimeDeserializer;
import com.huitu.whht.api.core.common.base.MyLocalDateTimeSerializer;
import java.time.LocalDateTime;

/**
 * 说明: 应急会商与人员关联关系表实体类,表名称: T_WHHT_WREM_CONS_PERSON_REL <br/>
 * 日期: 2019-04-11
 * @author LiuCW
 */
@Builder
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class WremConsPersonRel extends WremConsPersonRelKey {

private static final long serialVersionUID = 4L;

    /**
      * 应急会商代码
      */
    private String consId;
    /**
      * 人员代码
      */
    private String personId;
    /**
      * 人员状态(0.缺席,1.出席)
      */
    private String personStatus;
    /**
      * 时间戳
      */
    @JsonDeserialize(using = MyLocalDateTimeDeserializer.class)
    @JsonSerialize(using = MyLocalDateTimeSerializer.class)
    private LocalDateTime ts;
    /**
      * 主键ID
      */
    private String personRelId;
}